package cn.jobstart.modelDesc;

import lombok.Data;
import cn.jobstart.model.AdminJob;


import cn.jobstart.enums.AdminJobShowFlagEnum;
import cn.jobstart.enums.AdminJobDelFlagEnum;
import cn.jobstart.enums.AdminJobSalaryFlagEnum;
import cn.jobstart.enums.AdminJobEducationFlagEnum;
import cn.jobstart.enums.AdminJobWorkExperienceFlagEnum;
import cn.jobstart.enums.AdminJobNatureEnum;
import cn.jobstart.enums.AdminJobRecruitmentTypeEnum;

/**
*    @author sunke
*    @Date 2023-09-22 22:03:50
*    @description AdminJobDesc      员工职位
*/
@Data
public class AdminJobDesc extends AdminJob {


    private String showFlagDesc;
    private String delFlagDesc;
    private String salaryFlagDesc;
    private String educationFlagDesc;
    private String workExperienceFlagDesc;
    private String natureDesc;
    private String recruitmentTypeDesc;

    public String getShowFlagDesc() {
        showFlagDesc=AdminJobShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=AdminJobDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
    public String getSalaryFlagDesc() {
        salaryFlagDesc=AdminJobSalaryFlagEnum.getDescByType(getSalaryFlag());
        return salaryFlagDesc;
    }
    public String getEducationFlagDesc() {
        educationFlagDesc=AdminJobEducationFlagEnum.getDescByType(getEducationFlag());
        return educationFlagDesc;
    }
    public String getWorkExperienceFlagDesc() {
        workExperienceFlagDesc=AdminJobWorkExperienceFlagEnum.getDescByType(getWorkExperienceFlag());
        return workExperienceFlagDesc;
    }
    public String getNatureDesc() {
        natureDesc=AdminJobNatureEnum.getDescByType(getNature());
        return natureDesc;
    }
    public String getRecruitmentTypeDesc() {
        recruitmentTypeDesc=AdminJobRecruitmentTypeEnum.getDescByType(getRecruitmentType());
        return recruitmentTypeDesc;
    }
}

